<!DOCTYPE html>
<html>
  <head>
    <title>user.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
  </head>
  
  <body>
	<form action="/java-servlet/servlet/SetRequestParam2JavaBean" method="post">
    	姓名：<input type="text" name="name"/><br/>
   	 	密码：<input type="password" name="password"/><br/>
    	性别：
			<input type="radio" name="gender" value="1" checked="checked"/>男
    		<input type="radio" name="gender" value="0"/>女<br/>
    	<!-- 一般BeanUtis在封装boolean参数时，checkbox不写value属性   选中是true,不选是false -->
    	<!-- 如果要写值: yes  true   1  -->
		已婚：<input type="checkbox" name="married" value="true"/><br/>
    	故乡：<select name="city">
    			<option value="BJ">北京</option>
		    	<option value="SD">山东</option>
		    	<option value="HB">湖北</option>
		    </select><br/>
   		 爱好：<input type="checkbox" name="hobby" value="eat"/>吃饭
    		<input type="checkbox" name="hobby" value="sleep"/>睡觉
    		<input type="checkbox" name="hobby" value="java"/>学Java<br/>
   		 简介：<textarea name="description" rows="3" cols="38"></textarea><br/>
    	<input type="submit" value="注册"/>
	</form>
  </body>
</html>
